@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="deptInfoForm">
            <input type="hidden" id="id" value="${dept.id}">
            <input type="hidden" id="hour" value="${dept.sttleAccountsHour}">
            <input type="hidden" id="minute" value="${dept.sttleAccountsMinute}">
            <input type="hidden" id="second" value="${dept.sttleAccountsSecond}">
            <div class="row">
                <div class="col-sm-3 b-r">
                    <span>扎帐时间设置</span>
                    <div><input id="sttleAccountsHour" maxlength="2"
                                oninput="value=value.replace(/[^\d]/g,''),updateHour(this)"
                                onchange="value=value.replace(/[^\d]/g,''),updateHours(this)"
                                name="sttleAccountsHour" value="${dept.sttleAccountsHour}"/>时
                    </div>
                    <div><input id="sttleAccountsMinute" maxlength="2"
                                oninput="value=value.replace(/[^\d]/g,''),updateMinute(this)"
                                onchange="value=value.replace(/[^\d]/g,''),updateMinutes(this)"
                                name="sttleAccountsMinute" value="${dept.sttleAccountsMinute}"/>分
                    </div>
                    <div><input id="sttleAccountsSecond" maxlength="2"
                                oninput="value=value.replace(/[^\d]/g,''),updateSecond(this)"
                                onchange="value=value.replace(/[^\d]/g,''),updateSeconds(this)"
                                name="sttleAccountsSecond" value="${dept.sttleAccountsSecond}"/>秒
                    </div>
                </div>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-3">
                    <button type="button" class="btn" onclick="sttleAccountsSure()" style="position: absolute;right: 5%;top: -7px;background:#30add1;color: white;">确认</button>
                    <button type="button" class="btn" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name))" style="position: absolute;left: 5%;top: -7px;background:#333333;color: white;">取消</button>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/dept/sttle_accounts.js?v=20200718"></script>
@}